<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title><?php echo $title; ?></title>
        <base href="<?php echo $base; ?>" />
        <?php if ($description) { ?>
        <meta name="description" content="<?php echo $description; ?>" />
        <?php } ?>
        <?php if ($keywords) { ?>
        <meta name="keywords" content="<?php echo $keywords; ?>" />
        <?php } ?>
        <?php if ($icon) { ?>
        <link href="<?php echo $icon; ?>" rel="icon" />
        <?php } ?>
        <?php foreach ($links as $link) { ?>
        <link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
        <?php } ?>
        <!--        <link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/stylesheet.css" />-->
        <?php foreach ($styles as $style) { ?>
        <link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />
        <?php } ?>
        <script type="text/javascript" src="<?php echo $base; ?>catalog/view/javascript/jquery/jquery-1.7.1.min.js"></script>
        <script type="text/javascript" src="<?php echo $base; ?>catalog/view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>
        <link rel="stylesheet" type="text/css" href="<?php echo $base; ?>catalog/view/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" />
        <script type="text/javascript" src="<?php echo $base; ?>catalog/view/javascript/jquery/ui/external/jquery.cookie.js"></script>
        <script type="text/javascript" src="<?php echo $base; ?>catalog/view/javascript/jquery/colorbox/jquery.colorbox.js"></script>
        <link rel="stylesheet" type="text/css" href="<?php echo $base; ?>catalog/view/javascript/jquery/colorbox/colorbox.css" media="screen" />
        <script type="text/javascript" src="<?php echo $base; ?>catalog/view/javascript/jquery/tabs.js"></script>
        <script type="text/javascript" src="<?php echo $base; ?>catalog/view/javascript/common.js"></script>
        <?php foreach ($scripts as $script) { ?>
        <script type="text/javascript" src="<?php echo $script; ?>"></script>
        <?php } ?>
        <link rel="stylesheet" type="text/css" href="<?php echo $base; ?>catalog/view/theme/default/stylesheet/style.css" media="screen" />
        <link rel="stylesheet" type="text/css" href="<?php echo $base; ?>catalog/view/theme/default/stylesheet/nivo-slider.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo $base; ?>catalog/view/theme/default/images/default.css" />

        <script type="text/javascript" src="<?php echo $base; ?>catalog/view/javascript/jquery.nivo.slider.js"></script>

    </head>

    <body> 
        <div id="container">
            <!--top-->
            <div id="top">
                <div id="logo">
                    <div class="float_l">
                        <a href='<?php echo $base; ?>' title='cung cấp gas'><img src="images/logo.png" /></a>
                    </div>
                    <div class="float_r">
                        <table cellpadding="0" cellspacing="0" style="margin-top: 20px;">
                            <tr>
                                <td>
                                    <div class="image_fl">
                                        <img src="images/online (1).gif" />
                                    </div>
                                    <div class="image_fl">
                                        <img src="images/call_blue_transparent_34x34.png" />
                                    </div> 
                                </td>
                            </tr>
                                <tr>
                                    <td>
                                    <div class="image_fl">
                                        <img src="images/online.gif" />
                                    </div>
                                    <div class="image_fl">
                                        <img src="images/call_blue_transparent_34x34.png" />
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                    <td>
                                    <div class="image_fl">
                                        <img src="images/online.gif" />
                                    </div>
                                    <div class="image_fl">
                                        <img src="images/call_blue_transparent_34x34.png" />
                                    </div>
                                </td>
                            </tr>
                        </table>            
                    </div>
                </div>



                <!--menu-->
                <div id="menu">
                    <ul id='header'>
                        <li> <a href="<?php echo $base; ?>" <?php if($active_menu == 'home'){ ?> class="current" <?php } ?> >TRANG CHỦ</a></li>
                        <li><a href="<?php echo $base; ?>gioi-thieu.html" <?php if($active_menu == 'gioi-thieu.html'){ ?> class="current" <?php } ?> >GIỚI THIỆU</a></li>
                        <li><a href="<?php echo $base; ?>he-thong-cua-hang.html" <?php if($active_menu == 'he-thong-cua-hang.html'){ ?> class="current" <?php } ?> >HỆ THỐNG CỬA HÀNG</a></li>
                        <li><a href="<?php echo $base; ?>sanpham/" <?php if($active_menu == 'sanpham'){ ?> class="current" <?php } ?> >SẢN PHẨM - DỊCH VỤ</a></li>
                        <li><a href="<?php echo $base; ?>news/an-toan-gas/" <?php if($active_menu == 'news/an-toan-gas'){ ?> class="current" <?php } ?> >AN TOÀN GAS</a></li>
                        <li><a href="<?php echo $base; ?>news/" <?php if($active_menu == 'news'){ ?> class="current" <?php } ?>>TIN TỨC</a></li>
                        <li><a href="<?php echo $base; ?>lien-he.html" <?php if($active_menu == 'contact'){ ?> class="current" <?php } ?>>LIÊN HỆ</a></li>
                       
                    </ul>

                </div>
                <!--end menu-->
            </div>
            <!--end top-->
            <!--main-->